<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkForms
 *
 * @ORM\Table(name="tk_forms", indexes={@ORM\Index(name="vcc_flow_node_index", columns={"vcc_id", "flow_id", "node_id"})})
 * @ORM\Entity
 */
class TkForms
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false)
     */
    private $vccId = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="flow_id", type="integer", nullable=false)
     */
    private $flowId = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="node_id", type="integer", nullable=false, options={"comment"="节点ID"})
     */
    private $nodeId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="form_info", type="text", length=0, nullable=false, options={"comment"="表单布局信息"})
     */
    private $formInfo;

    /**
     * @var string
     *
     * @ORM\Column(name="form_fields", type="text", length=0, nullable=false, options={"comment"="表单字段信息"})
     */
    private $formFields;

    /**
     * @var int
     *
     * @ORM\Column(name="create_user_id", type="integer", nullable=false)
     */
    private $createUserId;

    /**
     * @var string
     *
     * @ORM\Column(name="create_user_name", type="string", length=30, nullable=false)
     */
    private $createUserName;

    /**
     * @var int
     *
     * @ORM\Column(name="create_time", type="integer", nullable=false)
     */
    private $createTime;

    /**
     * @var int
     *
     * @ORM\Column(name="update_user_id", type="integer", nullable=false)
     */
    private $updateUserId;

    /**
     * @var string
     *
     * @ORM\Column(name="update_user_name", type="string", length=30, nullable=false)
     */
    private $updateUserName;

    /**
     * @var int
     *
     * @ORM\Column(name="update_time", type="integer", nullable=false)
     */
    private $updateTime;

    /**
     * @var string
     *
     * @ORM\Column(name="form_iminfo", type="text", length=0, nullable=false, options={"comment"="Im表单布局信息"})
     */
    private $formIminfo;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getVccId(): ?int
    {
        return $this->vccId;
    }

    public function setVccId(int $vccId): self
    {
        $this->vccId = $vccId;

        return $this;
    }

    public function getFlowId(): ?int
    {
        return $this->flowId;
    }

    public function setFlowId(int $flowId): self
    {
        $this->flowId = $flowId;

        return $this;
    }

    public function getNodeId(): ?int
    {
        return $this->nodeId;
    }

    public function setNodeId(int $nodeId): self
    {
        $this->nodeId = $nodeId;

        return $this;
    }

    public function getFormInfo(): ?string
    {
        return $this->formInfo;
    }

    public function setFormInfo(string $formInfo): self
    {
        $this->formInfo = $formInfo;

        return $this;
    }

    public function getFormFields(): ?string
    {
        return $this->formFields;
    }

    public function setFormFields(string $formFields): self
    {
        $this->formFields = $formFields;

        return $this;
    }

    public function getCreateUserId(): ?int
    {
        return $this->createUserId;
    }

    public function setCreateUserId(int $createUserId): self
    {
        $this->createUserId = $createUserId;

        return $this;
    }

    public function getCreateUserName(): ?string
    {
        return $this->createUserName;
    }

    public function setCreateUserName(string $createUserName): self
    {
        $this->createUserName = $createUserName;

        return $this;
    }

    public function getCreateTime(): ?int
    {
        return $this->createTime;
    }

    public function setCreateTime(int $createTime): self
    {
        $this->createTime = $createTime;

        return $this;
    }

    public function getUpdateUserId(): ?int
    {
        return $this->updateUserId;
    }

    public function setUpdateUserId(int $updateUserId): self
    {
        $this->updateUserId = $updateUserId;

        return $this;
    }

    public function getUpdateUserName(): ?string
    {
        return $this->updateUserName;
    }

    public function setUpdateUserName(string $updateUserName): self
    {
        $this->updateUserName = $updateUserName;

        return $this;
    }

    public function getUpdateTime(): ?int
    {
        return $this->updateTime;
    }

    public function setUpdateTime(int $updateTime): self
    {
        $this->updateTime = $updateTime;

        return $this;
    }

    public function getFormIminfo(): ?string
    {
        return $this->formIminfo;
    }

    public function setFormIminfo(string $formIminfo): self
    {
        $this->formIminfo = $formIminfo;

        return $this;
    }


}
